package com.zhongwang.business.module.main.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zhongwang.business.module.main.model.Project;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class ProjectModel extends Project {
    private String preEnqName; //询价单名称

    private Integer preEnqNum;//询价单数量

    private Integer preChangeFlag; //询价单变更状态

    private String yearMonthMark; //项目编号年月

    private Integer preEnqId; //询价单id

    private BigDecimal proTotalQty; //询价单包含的项目所有设备总台数

    private Integer chgInfoStatus; //变更状态 1=待发送；2=提交并发送；3=提交不发送

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date createDate; //创建日期

    private Integer proChangeId;//变更表id

    private String chgContent;//变更通知单内容

    private Integer lastChgStatus;//最后变更单的状态

    private Integer chgVersion;//变更是否是最新版本

    private Integer lastChgId;//上一变更单id

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date startCreateDate; //通知创建开始日期

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date endCreateDate; //通知创建结束日期

    private String designPermission;//设计副总查看列表权限

    private String producePermission;//生产副总查看列表权限

    private Integer applyProdAppStatus;//申请生产审核状态

    private String designAppAgreePer;//设计副总审核申请生产同意权限

    private String produceAppAgreePer;//生产副总审核申请生产同意权限

    private String designAppDisagreePer;//设计副总审核申请生产同意权限

    private String produceAppDisagreePer;//生产副总审核申请生产同意权限

    private String designChangeProPer;//设计副总变更项目权限

    private String  produceChangeProPer;//生产副总变更项目权限
}
